_set

(alias) function _set(index: integer, value: T): T

Deprecated

Use 'set' instead

Set the element at the specified index, overwriting the element that was previously at that index. The size of the list is unchanged.

Alias

Alias target

Return

the overwritten element

Since

0.6.0

Parameters

index

the index of the element to set

value

the value to set

Throws

exception

if the index is out of bounds